package com.study.system.entity;

/**
 * 分页实体类
 */
public class PageEntity {

    private Long current;
    private Long size;
    private Long total;
    private Object data;

    public PageEntity(Long current, Long size, Long total, Object data) {
        this.current = current;
        this.size = size;
        this.total = total;
        this.data = data;
    }

    public PageEntity() {
    }

    public Long getCurrent() {
        return current;
    }

    public void setCurrent(Long current) {
        this.current = current;
    }

    public Long getSize() {
        return size;
    }

    public void setSize(Long size) {
        this.size = size;
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
